﻿#pragma once
#include "Scence.h"
#include "MaterialSrc/DrawImgMaterial.h"


class FRanderTarget;
class FMesh;

class FRTTScene final
	: public FScence
{
public:

	void Init(FRender* InRender) override;
	void Destory() override;
	void Draw(float DateTime) override;

	std::shared_ptr<FCamera> GetCamera() const override { return Camera; } // NOLINT(modernize-use-nodiscard)

private:

	std::shared_ptr<FCamera> Camera;

	std::shared_ptr<FMesh> CubeMesh;
	std::shared_ptr<FMesh>	ImgMesh;
	std::shared_ptr<FRanderTarget> RanderTarget;
	std::shared_ptr<FTexture2D> Texture;
};
